Ext.define('AM.store.MenuStore',{ 
    extend: 'Ext.data.TreeStore', 
    root: { 
        text: '行政总纲', 
        rootVisible:false,
        expanded: true ,
        id:'0'
    },  
    proxy: {  
        type: 'ajax',
        url: 'TreeAction_tree.action' 
    } ,
   fields : ['id','text','url','add','edit', 'delete','search']
}) 